/**
 * 
 */
package com.wubo.sec.service;

import java.util.List;

import javax.annotation.security.RolesAllowed;

import com.wubo.sec.bean.UserRoleRelate;

/**
 * @author WuBo
 * @CreateDate 2010-8-8
 * @version 1.0.01
 */
public interface IUserRoleService {

	@RolesAllowed("USER_ROLE_READ")
	List<String> getRoleCodes(String userCode);
	
	@RolesAllowed({"USER_ROLE_RELATE", "ACL_RELATE"})
	void relate(UserRoleRelate relate);
}
